#ifndef __ENTITY_BINDING_H__
#define __ENTITY_BINDING_H__

struct lua_State;

namespace Ogre
{
	class Entity;
    class AnimationState;
}

namespace lua_ogre {

extern const char* EntityClassName;

struct LuaEntity : public Ogre::MovableObject::Listener
{
	LuaEntity(Ogre::Entity*);
	~LuaEntity();

	void objectDestroyed(Ogre::MovableObject*);
	const char* GetName() const;
	Ogre::Entity *c_obj;
};

int LuaCreateEntity(Ogre::Entity *entity, lua_State*);
void BindEntity(lua_State*);

}

#endif